home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / djgpp / src / binutils.252 / ld / scriptte / hppaelf.sc < prev    next >
Encoding:
Text File  |  1994-07-05  |  682 b   |  35 lines

  1. cat <<EOF
  2. OUTPUT_FORMAT("${OUTPUT_FORMAT}")
  3. OUTPUT_ARCH(${ARCH})
  4. ENTRY("\$START\$")
  5. ${RELOCATING+${LIB_SEARCH_DIRS}}
  6. SECTIONS
  7. {
  8.   .text ${RELOCATING+${TEXT_START_ADDR}}:
  9.   {
  10.     ${RELOCATING+__text_start = .};
  11.     CREATE_OBJECT_SYMBOLS
  12.     *(.PARISC.stubs)
  13.     *(.text)
  14.     ${RELOCATING+etext = .};
  15.     ${RELOCATING+_etext = .};
  16.   }
  17.   .data  0x40000000 :
  18.   {
  19.     ${RELOCATING+ . = . + 0x1000 };
  20.     ${RELOCATING+__data_start = .};
  21.     *(.data)
  22.     ${CONSTRUCTING+CONSTRUCTORS}
  23.     ${RELOCATING+edata = .};
  24.     ${RELOCATING+_edata = .};
  25.   }
  26.   .bss 0x40000000 ${RELOCATING++SIZEOF(.data)} :
  27.   {
  28.    *(.bss)
  29.    *(COMMON)
  30.    ${RELOCATING+end = . };
  31.    ${RELOCATING+_end = . };
  32.   }
  33. }
  34. EOF
  35.